<?php
/**
 * test
 * @package    
 * @author     ben
 */
class t2Action extends sfAction
{
    public function execute($request)
    {
        // js required
        $this->getResponse()->addJavaScript('jquery/jquery.layout.js', 'last');
        $this->getResponse()->addJavaScript('jquery/plugins/jqgrid/i18n/grid.locale-en.js', 'last');
        $this->getResponse()->addJavaScript('jquery/plugins/jqgrid/jquery.jqGrid.min.js', 'last');
        $this->getResponse()->addJavaScript('jquery/jquery.tablednd.js', 'last');
        $this->getResponse()->addJavaScript('jquery/jquery.contextmenu.js', 'last');
        $this->getResponse()->addJavaScript('jquery/ui.multiselect.js', 'last');

        // css required

        $this->getResponse()->addStylesheet("jquery/jqgrid/ui.jqgrid.css", 'last');
        $this->getResponse()->addStylesheet("jquery/jqgrid/ui.multiselect.css", 'last');
        
        
        //component js required, begin
        $this->getResponse()->addJavaScript("backend/test/".__CLASS__.".js", 'last');
        //component js required, begin

        //component css required, begin
        $this->getResponse()->addStylesheet("backend/test/".__CLASS__.".css", 'last');
        //component css required, begin

       $this->setLayout("layout_1");
    }
}